package com.itheima02.day05;

/**
 * @author 刘全
 * @date 2021/7/21
 */
public class ObjectDemo {
    public static void main(String[] args) {
        Student stu = new Student("憨丕","22");
        Student stu2 = new Student("憨丕","23");
        System.out.println(stu.equals(stu2));
    }
}
